package com.lp.common.poster.core.abst;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @program: biz
 * @description:
 * @author: Ke.Song
 * @since: 2024-04-03 21:02:56
 */
@Data
@AllArgsConstructor
public abstract class AbstractPosterDecorator implements Poster {

    /**
     * 海报对象
     */
    protected Poster poster;

    protected int positionX;

    protected int positionY;

    protected int width;

    protected int height;

    public AbstractPosterDecorator(Poster poster){
        this.poster = poster;
    }
    public AbstractPosterDecorator(){}
}
